package com.ytzl.itrip.service;
import com.ytzl.itrip.pojo.ItripTradeEnds;
import com.ytzl.itrip.common.Page;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;

public interface ItripTradeEndsService {

public ItripTradeEnds getItripTradeEndsById(@Param(value = "id") Long id)throws Exception;

public List<ItripTradeEnds> getItripTradeEndsListByMap(Map
                                                               <String, Object> param)throws Exception;

public Integer getItripTradeEndsCountByMap(Map
                                                   <String, Object> param)throws Exception;

public Integer saveItripTradeEnds(ItripTradeEnds itripTradeEnds)throws Exception;

public Integer modifyItripTradeEnds(ItripTradeEnds itripTradeEnds)throws Exception;

public Integer removeItripTradeEndsById(@Param(value = "id") Long id)throws Exception;
public Page<ItripTradeEnds> queryItripTradeEndsPageByMap(Map
                                                                 <String, Object> param, Integer pageNo, Integer pageSize)throws Exception;
public Integer removeItripTradeEndsByIds(@Param(value = "ids") Long[] ids)throws Exception;
}
